package com.shcowin.biz;

import java.util.List;

import org.springframework.dao.DataAccessException;

public interface ContactBiz<T> {

	public boolean add(T entity) throws DataAccessException;

	public boolean edit(T entity) throws DataAccessException;

	public T getById(Integer id) throws DataAccessException;

	public List<T> getAll() throws DataAccessException;

	public void del(int id) throws DataAccessException;

}